package com.sun.huazhi.aitaskservice.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component("pythonApiProperties")
@ConfigurationProperties(prefix = "python.ai-api")
@Primary
public class PythonApiProperties {
    private String url;

    public String getUrl() { return url; }
    public void setUrl(String url) { this.url = url; }
}